ASensor_isDirectChannelTypeSupported

Test if sensor supports a certain type of direct channel.

Available since API level 26.

\param sensor a {@link ASensor} to denote the sensor to be checked. \param channelType Channel type constant, either {@ASENSOR_DIRECT_CHANNEL_TYPE_SHARED_MEMORY} or {@link ASENSOR_DIRECT_CHANNEL_TYPE_HARDWARE_BUFFER}. \returns true if sensor supports the specified direct channel type.

extern (C)
static if(__ANDROID_API__ >= 26)
bool
ASensor_isDirectChannelTypeSupported

Meta